﻿using Lu.Blog.Domain.Factory;
using Lu.Blog.Domain.Factory.Impl;
using Lu.Blog.Domain.Provider;
using Lu.Blog.Domain.Provider.Impl;
using Ninject.Modules;

namespace Lu.Blog.Domain.IoC
{
    public class DomainModule : NinjectModule
    {
        public override void Load()
        {
            Kernel.Bind<INodeFactory>().To<NodeFactoryImpl>();
            Kernel.Bind<IMenuProvider>().To<MenuProviderImpl>();
        }
    }
}